﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020006DF RID: 1759
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetFriendApplyListInfoScRsp : IMessage<GetFriendApplyListInfoScRsp>, IMessage, IEquatable<GetFriendApplyListInfoScRsp>, IDeepCloneable<GetFriendApplyListInfoScRsp>, IBufferMessage
	{
		// Token: 0x17001695 RID: 5781
		// (get) Token: 0x06004F32 RID: 20274 RVA: 0x000D7C2B File Offset: 0x000D5E2B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetFriendApplyListInfoScRsp> Parser
		{
			get
			{
				return GetFriendApplyListInfoScRsp._parser;
			}
		}

		// Token: 0x17001696 RID: 5782
		// (get) Token: 0x06004F33 RID: 20275 RVA: 0x000D7C32 File Offset: 0x000D5E32
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetFriendApplyListInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001697 RID: 5783
		// (get) Token: 0x06004F34 RID: 20276 RVA: 0x000D7C44 File Offset: 0x000D5E44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetFriendApplyListInfoScRsp.Descriptor;
			}
		}

		// Token: 0x06004F35 RID: 20277 RVA: 0x000D7C4B File Offset: 0x000D5E4B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFriendApplyListInfoScRsp()
		{
		}

		// Token: 0x06004F36 RID: 20278 RVA: 0x000D7C6C File Offset: 0x000D5E6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFriendApplyListInfoScRsp(GetFriendApplyListInfoScRsp other) : this()
		{
			this.receiveApplyList_ = other.receiveApplyList_.Clone();
			this.retcode_ = other.retcode_;
			this.sendApplyList_ = other.sendApplyList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004F37 RID: 20279 RVA: 0x000D7CBE File Offset: 0x000D5EBE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFriendApplyListInfoScRsp Clone()
		{
			return new GetFriendApplyListInfoScRsp(this);
		}

		// Token: 0x17001698 RID: 5784
		// (get) Token: 0x06004F38 RID: 20280 RVA: 0x000D7CC6 File Offset: 0x000D5EC6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<FriendApplyInfo> ReceiveApplyList
		{
			get
			{
				return this.receiveApplyList_;
			}
		}

		// Token: 0x17001699 RID: 5785
		// (get) Token: 0x06004F39 RID: 20281 RVA: 0x000D7CCE File Offset: 0x000D5ECE
		// (set) Token: 0x06004F3A RID: 20282 RVA: 0x000D7CD6 File Offset: 0x000D5ED6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700169A RID: 5786
		// (get) Token: 0x06004F3B RID: 20283 RVA: 0x000D7CDF File Offset: 0x000D5EDF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> SendApplyList
		{
			get
			{
				return this.sendApplyList_;
			}
		}

		// Token: 0x06004F3C RID: 20284 RVA: 0x000D7CE7 File Offset: 0x000D5EE7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetFriendApplyListInfoScRsp);
		}

		// Token: 0x06004F3D RID: 20285 RVA: 0x000D7CF8 File Offset: 0x000D5EF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetFriendApplyListInfoScRsp other)
		{
			return other != null && (other == this || (this.receiveApplyList_.Equals(other.receiveApplyList_) && this.Retcode == other.Retcode && this.sendApplyList_.Equals(other.sendApplyList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004F3E RID: 20286 RVA: 0x000D7D5C File Offset: 0x000D5F5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.receiveApplyList_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.sendApplyList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004F3F RID: 20287 RVA: 0x000D7DB7 File Offset: 0x000D5FB7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004F40 RID: 20288 RVA: 0x000D7DBF File Offset: 0x000D5FBF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004F41 RID: 20289 RVA: 0x000D7DC8 File Offset: 0x000D5FC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.receiveApplyList_.WriteTo(ref output, GetFriendApplyListInfoScRsp._repeated_receiveApplyList_codec);
			this.sendApplyList_.WriteTo(ref output, GetFriendApplyListInfoScRsp._repeated_sendApplyList_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004F42 RID: 20290 RVA: 0x000D7E28 File Offset: 0x000D6028
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.receiveApplyList_.CalculateSize(GetFriendApplyListInfoScRsp._repeated_receiveApplyList_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.sendApplyList_.CalculateSize(GetFriendApplyListInfoScRsp._repeated_sendApplyList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004F43 RID: 20291 RVA: 0x000D7E8C File Offset: 0x000D608C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetFriendApplyListInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.receiveApplyList_.Add(other.receiveApplyList_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.sendApplyList_.Add(other.sendApplyList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004F44 RID: 20292 RVA: 0x000D7EEA File Offset: 0x000D60EA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004F45 RID: 20293 RVA: 0x000D7EF4 File Offset: 0x000D60F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 96U)
				{
					if (num == 82U)
					{
						this.receiveApplyList_.AddEntriesFrom(ref input, GetFriendApplyListInfoScRsp._repeated_receiveApplyList_codec);
						continue;
					}
					if (num == 96U)
					{
						goto IL_44;
					}
				}
				else
				{
					if (num == 98U)
					{
						goto IL_44;
					}
					if (num == 112U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				continue;
				IL_44:
				this.sendApplyList_.AddEntriesFrom(ref input, GetFriendApplyListInfoScRsp._repeated_sendApplyList_codec);
			}
		}

		// Token: 0x04001F24 RID: 7972
		private static readonly MessageParser<GetFriendApplyListInfoScRsp> _parser = new MessageParser<GetFriendApplyListInfoScRsp>(() => new GetFriendApplyListInfoScRsp());

		// Token: 0x04001F25 RID: 7973
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001F26 RID: 7974
		public const int ReceiveApplyListFieldNumber = 10;

		// Token: 0x04001F27 RID: 7975
		private static readonly FieldCodec<FriendApplyInfo> _repeated_receiveApplyList_codec = FieldCodec.ForMessage<FriendApplyInfo>(82U, FriendApplyInfo.Parser);

		// Token: 0x04001F28 RID: 7976
		private readonly RepeatedField<FriendApplyInfo> receiveApplyList_ = new RepeatedField<FriendApplyInfo>();

		// Token: 0x04001F29 RID: 7977
		public const int RetcodeFieldNumber = 14;

		// Token: 0x04001F2A RID: 7978
		private uint retcode_;

		// Token: 0x04001F2B RID: 7979
		public const int SendApplyListFieldNumber = 12;

		// Token: 0x04001F2C RID: 7980
		private static readonly FieldCodec<uint> _repeated_sendApplyList_codec = FieldCodec.ForUInt32(98U);

		// Token: 0x04001F2D RID: 7981
		private readonly RepeatedField<uint> sendApplyList_ = new RepeatedField<uint>();
	}
}
